<template>
  <div v-if="loading" class="load">欢迎访问阳光沙滩领劵联盟，加载中...</div>
</template>

<script>
  export default {
    name: "loading",
    data(){
      return {
        loading: false
      }
    },
    methods: {
      start(){
        this.loading = true
      },
      finish(){
        this.loading = false
      }
    }
  }
</script>

<style scoped>
  .load{
    width: 100vw;
    height: 100vh;
    line-height: 100vh;
    position: relative;
    z-index: 1000;
    text-align: center;
    color: #1a87ff;
  }
</style>
